<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
</head>
<body>
<form th:action="@{/user/reg}" method="post">
    用户名: <input type="text" name="name" required>
    邮箱: <input type="email" name = "email" required>
    年龄: <input type="number" name="age" required>
    <input type="submit" value="注册">
</form>
</body>
</html>